package user;

import operation.*;
import book.booklist;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2022-11-18
 * Time: 20:33
 */
public class Manageuser extends User{

    public Manageuser(String name) {
        super(name);
this.iopers=new Ioper[]{new exitoperation(),new addoperation(),new delateoperation(),new showoperation(),new Updateoperation()};
    }
    protected int menu(){
        System.out.println("欢迎来到图书系统~~~~");
        System.out.println("1.  添加图书  ");
        System.out.println("2.  删除图书  ");
        System.out.println("3.  展示图书   ");
        System.out.println("4.  修改图书   ");
        System.out.println("0.  退出系统   ");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请选择你的操作");
        int zz=scanner.nextInt();
       return zz;

    }
}